This version of LottoBalls fixes a problem that caused periodic crashes in version 1.0, and adds the following features:
・ Individual selection of sorting option for each "pick."
・ Individual selection of repeat option for each "pick."
・ A help screen (although I'm sure you can figure this thing out without it).
・ The option to turn-off the moving balls (they tend to move in a rather jumpy manner on slower Macs since the animation is done using "ScrollRect").
・ Note - LottoBalls creates a file "LBprefs" that saves the configuration of the options. If this file is non-existent a new one is automatically created with the default settings.
If anyone's interested in getting the Think Pascal 3.0 source code for LottoBalls, send me a note saying so (AllenC6), and I'll upload it to the "Development" area.
If you know of a Lottery that LottoBalls can't handle or any bugs in this version (1.1), please send me a note explaining what it needs to do (AllenC6). Any suggestions are appreciated.
I know Lotto programs are really useless, but I just wanted to practice a little Macintosh programming without having to think too much about what the program does! I originally wrote a similar LottoBalls program using ZBASIC a couple of years ago (you might have seen it on GENIE), but it was limited to the Florida Lottery and was really large (due to ZBASIC). I was determined to complete a Pascal program on the Mac, thus LottoBalls II.
About the author:
I'm a Computer Information Systems (hey, who says CIS people don't use Macs) graduate from the University of West Florida (Pensacola). Currently, I'm working as a research assistant while pursuing graduate studies in Software Engineering and trying to get a handle on C++ in the UNIX environment.
What next?
I'm working on an Object-Oriented CASE tool (actually for a project in one of my Software Engineering classes). Unfortunately, LottoBalls is not implemented using the OOP methodology.